package com.lzs.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpy
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("s_inventory_locator")
@ApiModel(value="InventoryLocator对象", description="")
public class InventoryLocator implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

//    @ApiModelProperty(value = "pid")
//    private Long pid;

    @ApiModelProperty(value = "仓库ID")
    private Long warehouseid;

    @ApiModelProperty(value = "盘点单号")
    private String inventoryno;

    @ApiModelProperty(value = "货位id")
    private Long locatorid;

    @ApiModelProperty(value = "货位编码")
    private String locatorcode;

    @ApiModelProperty(value = "货位名称")
    private String locatorname;

    @ApiModelProperty(value = "创建人id")
    private Long createid;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "1:待录入 2：录入结束")
    private String state;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone="GMT+8")
    private Date createtime;


}
